<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)" name="viewport">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="telephone=no" name="format-detection">
<title>苗木通讯录</title>
<include file="Public/header"/>
</head>
<body >
<div class=" wrap">
 	<div class="top">
 		<i class="fa fa-angle-left fa-2x top_l" onclick="history.go(-1)"></i>
 		<div class="weui_search_bar" id="search_bar">
		    <form class="weui_search_outer" method="get" id="searchform">
				<input type="hidden" name="id" value="{$_GET['id']}"/>
		        <div class="weui_search_inner">
		            <i class="weui_icon_search" id="buttonsearch"></i>
		            <input name="keyword" type="search" class="weui_search_input" id="search_input" placeholder="搜索" style="color:#000;" required/>
		            <a href="javascript:" class="weui_icon_clear" id="search_clear"></a>
		        </div>
		        <label for="search_input" class="weui_search_text" id="search_text">
		            <i class="weui_icon_search"></i>
		            <span>搜索</span>
		        </label>
		    </form>
		    <a href="javascript:" class="weui_search_cancel" id="search_cancel">取消</a>
		</div>
		<i class="fa fa-phone fa-lg top_r" id="telephone"></i>
 	</div>
 	<div class="news">
 		<ul>
			<volist name="list" id="list">
 			<li>
			<a href="{:U('Article/info',array('id'=>$list['id']))}">
 					<img src="{$list['img']}">
 					<div class="news_con" style="margin-left: 85px;display: block;float: none;">
						<div class="news_con_dw">{$list['time']|date="m月d日"}</div>
							<h3 style="white-space: nowrap;text-overflow:ellipsis;width: auto;">{$list['title']}</h3>
							<p style="overflow : hidden;
							  text-overflow: ellipsis;
							    display: -webkit-box;
								  -webkit-line-clamp: 2;
								    -webkit-box-orient: vertical;height: 34px;">{$list['content']|mbsubstrn=###,0,40}</p>
 					</div>
 				</a>
 			</li>
			</volist>
 		</ul>
 	</div>
 	<div class="sub_fenye">
	</div>
	<!--
 	<div class="sub_fenye">
		<a href="#"><i class="fa fa-angle-left fa-lg" ></i></a><a href="#" id="dqfy">1</a><a href="#">2</a><a href="#">3</a><a href="#"><i class="fa fa-angle-right fa-lg" ></i></a>
	</div>
	-->
 	</div>
	<include file="Public/footern"/>
</div>
</body>
</html>
<script>
$(function() {
	$('#active3').css("color","#2cad18");
	$('#active3').find('i').css("color","#2cad18");
	$('#search_text').click(function() {
		$(this).hide();
	});
	$('#buttonsearch').click(function() {
		$('#searchform').submit();
	});
});
</script>
